package com.edu.cloud.center.web;

import com.edu.cloud.center.api.IHelloApi;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class HelloController implements IHelloApi {

    public String hello() {
        try {
            Thread.sleep(500l);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
        // System.out.println(System.currentTimeMillis()+"---center hello");
        return "hello center";
    }
}
